.class Lcom/estrongs/android/taskmanager/bf;
.super Lcom/estrongs/android/taskmanager/tools/d;


# instance fields
.field final synthetic a:Lcom/estrongs/android/taskmanager/HomeActivity;

.field private final synthetic b:Ljava/util/List;


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/HomeActivity;Ljava/util/List;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/bf;->a:Lcom/estrongs/android/taskmanager/HomeActivity;

    iput-object p2, p0, Lcom/estrongs/android/taskmanager/bf;->b:Ljava/util/List;

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/tools/d;-><init>()V

    return-void
.end method


# virtual methods
.method public onGetStatsCompleted(Landroid/content/pm/PackageStats;Z)V
    .locals 5

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/bf;->a:Lcom/estrongs/android/taskmanager/HomeActivity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/HomeActivity;->C(Lcom/estrongs/android/taskmanager/HomeActivity;)I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    invoke-static {v0, v1}, Lcom/estrongs/android/taskmanager/HomeActivity;->a(Lcom/estrongs/android/taskmanager/HomeActivity;I)V

    iget-wide v0, p1, Landroid/content/pm/PackageStats;->cacheSize:J

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/bf;->a:Lcom/estrongs/android/taskmanager/HomeActivity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/HomeActivity;->D(Lcom/estrongs/android/taskmanager/HomeActivity;)I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    invoke-static {v0, v1}, Lcom/estrongs/android/taskmanager/HomeActivity;->b(Lcom/estrongs/android/taskmanager/HomeActivity;I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/bf;->a:Lcom/estrongs/android/taskmanager/HomeActivity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/HomeActivity;->E(Lcom/estrongs/android/taskmanager/HomeActivity;)J

    move-result-wide v1

    iget-wide v3, p1, Landroid/content/pm/PackageStats;->cacheSize:J

    add-long/2addr v1, v3

    invoke-static {v0, v1, v2}, Lcom/estrongs/android/taskmanager/HomeActivity;->a(Lcom/estrongs/android/taskmanager/HomeActivity;J)V

    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/bf;->a:Lcom/estrongs/android/taskmanager/HomeActivity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/HomeActivity;->C(Lcom/estrongs/android/taskmanager/HomeActivity;)I

    move-result v0

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/bf;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/bf;->a:Lcom/estrongs/android/taskmanager/HomeActivity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/HomeActivity;->F(Lcom/estrongs/android/taskmanager/HomeActivity;)V

    :cond_1
    return-void
.end method
